package com.cxh.dataservice.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.cxh.dataservice.entity.SysUserTest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author ChenXH
 * @since 2020-07-03
 */
public interface SysUserTestMapper extends BaseMapper<SysUserTest> {
    @DS("slave_1")
    List<Map<String, Object>> query(@Param("sql")String sql);

    List<Map<String, Object>> getTestData(@Param("sql")String sql);
}
